package week03;

import java.util.Scanner;

public class Circle {
	private int radius;
	public Circle(int radius) {
		this.radius=radius;
	}
	public int getRadius() {
		return radius;
	}

	public void setRadius(int radius) {
		this.radius = radius;
	}
	
	public static int getPerimeter(int radius)
	{
		return (int)(Math.PI*radius*2);
		
	}
	public int getArea(int width,int length)
	{
		return (int)(Math.PI*radius*radius);
	}
	
	public String toString() {
		return "Circle [radius=" + radius + "]";
	}
	
	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		Circle[] circle=new Circle[2];
		for (int i = 0; i < circle.length; i++) {
			Circle circle1=new Circle(in.nextInt());
			circle[i]=circle1;
			System.out.println(getPerimeter(circle[i].radius));
		 }
	}
	
}
